gtk4.git
12 years agoSome fixes for Russian translation
Yuri Myasoedov [Wed, 26 Mar 2014 08:12:25 +0000 (12:12 +0400)]
Some fixes for Russian translation

12 years agoSome fixes for Russian translation
Yuri Myasoedov [Wed, 26 Mar 2014 07:43:08 +0000 (11:43 +0400)]
Some fixes for Russian translation

12 years agoSome fixes and updates for Russian translation
Yuri Myasoedov [Wed, 26 Mar 2014 07:27:40 +0000 (11:27 +0400)]
Some fixes and updates for Russian translation

12 years agoAdd missing AtkRelations for labelled containers in the print dialog
Joanmarie Diggs [Mon, 24 Mar 2014 22:19:40 +0000 (18:19 -0400)]
Add missing AtkRelations for labelled containers in the print dialog

These AtkRelation types are added automatically for widgets with a label
specified (e.g. via gtk_label_set_mnemonic_widget, gtk_frame_set_label,
and gtk_frame_set_label_widget). When such specification is absent, the
accessible relationship must be manually set.

https://bugzilla.gnome.org/show_bug.cgi?id=726996

12 years agoprevent redefinition of typedef GtkPrinterCloudprint
Antoine Jacoutot [Tue, 25 Mar 2014 11:24:41 +0000 (12:24 +0100)]
prevent redefinition of typedef GtkPrinterCloudprint

https://bugzilla.gnome.org/show_bug.cgi?id=727009

12 years agoBump version
Matthias Clasen [Tue, 25 Mar 2014 01:07:09 +0000 (21:07 -0400)]
Bump version

12 years ago3.12.0
Matthias Clasen [Mon, 24 Mar 2014 16:55:41 +0000 (12:55 -0400)]
3.12.0

12 years agoicontheme: fix emblemed icons fallout
Cosimo Cecchi [Tue, 25 Mar 2014 00:14:43 +0000 (20:14 -0400)]
icontheme: fix emblemed icons fallout

Commit faba7df4fea6cd09470b3b2cc277c35e6cf7c380 changed the logic in
apply_emblems() so that GtkIconInfo->emblems_applied would be set to
TRUE even in case there was no emblem info available, which confuses the
theme cache.
This commit changes the logic back, so that NULL is returned from
apply_emblems_to_pixbuf() when there are no emblems available, fixing
the bug.

https://bugzilla.gnome.org/show_bug.cgi?id=726830

12 years agoAdd a testcase for icons with emblems
Matthias Clasen [Tue, 25 Mar 2014 00:10:02 +0000 (20:10 -0400)]
Add a testcase for icons with emblems

This is a testcase for
https://bugzilla.gnome.org/show_bug.cgi?id=726830

12 years agoMinor update of a11y test output
Matthias Clasen [Mon, 24 Mar 2014 18:28:03 +0000 (14:28 -0400)]
Minor update of a11y test output

12 years agoUpdate release notes
Matthias Clasen [Mon, 24 Mar 2014 17:36:13 +0000 (13:36 -0400)]
Update release notes

12 years agoAlso revert enable-mnemonics code in gtkwindow, which was forgotten in commit 34cf40e...
Johannes Wellhöfer [Sun, 13 Oct 2013 14:15:18 +0000 (16:15 +0200)]
Also revert enable-mnemonics code in gtkwindow, which was forgotten in commit 34cf40e95cb1f0bc4bb98bb14edb03dd86f1dab3.

https://bugzilla.gnome.org/show_bug.cgi?id=708346

12 years agoUpdated German translation
Christian Kirbach [Mon, 24 Mar 2014 22:20:06 +0000 (22:20 +0000)]
Updated German translation

12 years agowayland: Mark ourselves as not supporting compositing
Matthias Clasen [Mon, 24 Mar 2014 16:49:32 +0000 (12:49 -0400)]
wayland: Mark ourselves as not supporting compositing

The compositing that is meant here is really specific to the
X11 Composite extension, and does not apply to Wayland.

This is very rarely used functionality anyway, and none of
the other backends support it.

12 years agodocs: Document gtk_recent_filter_filter() requirements
Kai Willadsen [Sat, 22 Mar 2014 22:12:09 +0000 (08:12 +1000)]
docs: Document gtk_recent_filter_filter() requirements

gtk_recent_filter_filter() needs the contains bitfield to be set, but
this only mentions that the other fields are required.

https://bugzilla.gnome.org/show_bug.cgi?id=726900

12 years agoprinting: Draw print dialog on fullscreen windows
Marek Kasik [Tue, 18 Mar 2014 11:43:46 +0000 (12:43 +0100)]
printing: Draw print dialog on fullscreen windows

Set correct "type-hint" for GtkPrintUnixDialog ("dialog").
Otherwise the print dialog is not shown when its parent
window is in fullscreen mode.

https://bugzilla.gnome.org/show_bug.cgi?id=724728

12 years agoa11y: Move relationset updating to new vfunc
Benjamin Otte [Mon, 24 Mar 2014 15:34:08 +0000 (16:34 +0100)]
a11y: Move relationset updating to new vfunc

This way, we don't create lots of cell accessibles when creating the
first one (because surely one is the parent/child of another who again
is a parent/child of another who again....)

12 years agoa11y: Add API to update relationsets of cells to their parents
Benjamin Otte [Mon, 24 Mar 2014 14:51:38 +0000 (15:51 +0100)]
a11y: Add API to update relationsets of cells to their parents

12 years agoa11y: Don't unref relations
Benjamin Otte [Mon, 24 Mar 2014 15:32:59 +0000 (16:32 +0100)]
a11y: Don't unref relations

Nobody was reffing those related object in the first place and that
was causing random crashes.
And if somebody had reffed those related objects, they'd have caused
reference cycles.

https://bugzilla.gnome.org/show_bug.cgi?id=726838

12 years agoDon't let themes override explicit border-width in dialogs
Matthias Clasen [Fri, 21 Mar 2014 19:41:13 +0000 (15:41 -0400)]
Don't let themes override explicit border-width in dialogs

This fixes an issue where the theme-provided border-width prevents
dialog contents from lining up properly with the headerbar. To make
this work in message dialogs, we have to explicitly set the border-
width of the action area to 0.

12 years agoRevert "Don't let themes override explicit border-width in dialogs"
Matthias Clasen [Mon, 24 Mar 2014 12:35:27 +0000 (08:35 -0400)]
Revert "Don't let themes override explicit border-width in dialogs"

This reverts commit 6e4567e73bceb66200b9605c51b4b5ad6e807483.

For some reason, this causes buttons in message dialogs to have an
unwanted border.

12 years agogtk-demo: Fix underlines
Matthias Clasen [Mon, 24 Mar 2014 11:00:42 +0000 (07:00 -0400)]
gtk-demo: Fix underlines

The iconview example was showing literal underlines. We don't want
that.

12 years agoUpdate Czech po-properties translation
Petr Kovar [Sun, 23 Mar 2014 16:09:24 +0000 (17:09 +0100)]
Update Czech po-properties translation

12 years agoUpdate Czech translation
Petr Kovar [Sun, 23 Mar 2014 15:38:29 +0000 (16:38 +0100)]
Update Czech translation

12 years agoUpdated Serbian translation
Мирослав Николић [Sun, 23 Mar 2014 13:24:07 +0000 (14:24 +0100)]
Updated Serbian translation

12 years agoUpdated Serbian translation
Мирослав Николић [Sun, 23 Mar 2014 10:53:12 +0000 (11:53 +0100)]
Updated Serbian translation

12 years agoUpdated Italian translation
Milo Casagrande [Sat, 22 Mar 2014 13:48:41 +0000 (13:48 +0000)]
Updated Italian translation

12 years agoUpdated Italian translation
Milo Casagrande [Sat, 22 Mar 2014 13:47:59 +0000 (13:47 +0000)]
Updated Italian translation

12 years agoUpdated Ukrainian translation
Daniel Korostil [Sat, 22 Mar 2014 10:22:46 +0000 (12:22 +0200)]
Updated Ukrainian translation

12 years agoFix typo (GTK_ENABLE_DEBUG vs. G_ENABLE_DEBUG).
John Lindgren [Sat, 22 Mar 2014 02:34:13 +0000 (22:34 -0400)]
Fix typo (GTK_ENABLE_DEBUG vs. G_ENABLE_DEBUG).

https://bugzilla.gnome.org/show_bug.cgi?id=726858

12 years agofont chooser: Update font list on font changes
Matthias Clasen [Sat, 22 Mar 2014 02:37:36 +0000 (22:37 -0400)]
font chooser: Update font list on font changes

We do get a style-updated emission when new fonts are installed.
Update the font list in this case.

https://bugzilla.gnome.org/show_bug.cgi?id=726476

12 years agofile chooser: Don't react to entry changes in select-folder mode
Matthias Clasen [Sat, 22 Mar 2014 02:06:24 +0000 (22:06 -0400)]
file chooser: Don't react to entry changes in select-folder mode

In select-folder mode, we are putting the directory name into the
entry ourselves. Then the entry appends a /. If we react to this
'spontaneous' change of the entry by clearing the list selection,
this will in turn make us clear the entry. We don't want that.

https://bugzilla.gnome.org/show_bug.cgi?id=726855

12 years agoUpdated Hungarian translation
Gábor Kelemen [Sat, 22 Mar 2014 00:50:40 +0000 (00:50 +0000)]
Updated Hungarian translation

12 years agowayland: Fix northeast resizing
Matthias Clasen [Fri, 21 Mar 2014 22:22:46 +0000 (18:22 -0400)]
wayland: Fix northeast resizing

Surprisingly, the same corner that was broken for resizing under
X is also broken under Wayland, for an entirely different reason.

12 years agobroadway: make sure color/delta run length do not overflow
Pierre-Eric Pelloux-Prayer [Wed, 12 Mar 2014 16:02:58 +0000 (17:02 +0100)]
broadway: make sure color/delta run length do not overflow

Fixes bug 723045.

12 years agoDon't let themes override explicit border-width in dialogs
Matthias Clasen [Fri, 21 Mar 2014 19:41:13 +0000 (15:41 -0400)]
Don't let themes override explicit border-width in dialogs

This fixes an issue where the theme-provided border-width prevents
dialog contents from lining up properly with the headerbar.

12 years agoFix undecorated windows
Matthias Clasen [Fri, 21 Mar 2014 19:39:46 +0000 (15:39 -0400)]
Fix undecorated windows

Setting windows undecorated was broken by some of the recent
shadow width changes. We need to ensure that shadow width is
zero for undecorated windows, then things work again.

12 years agowindow: Unset source ID before possibly destroying the widget
Carlos Garnacho [Fri, 21 Mar 2014 14:31:40 +0000 (15:31 +0100)]
window: Unset source ID before possibly destroying the widget

If the delete event ends up destroying the widget, unsetting
priv->delete_event_handler will happen on invalid memory, so
unset it before the widget is possibly destroyed.

https://bugzilla.gnome.org/show_bug.cgi?id=726825

12 years agoa11y: Remove weak reference when updating a GtkPopoverAccessible relative-to widget
Carlos Garnacho [Fri, 21 Mar 2014 14:28:36 +0000 (15:28 +0100)]
a11y: Remove weak reference when updating a GtkPopoverAccessible relative-to widget

Otherwise the weak reference is left dangling, which later causes issues at the time
of destroying that widget.

https://bugzilla.gnome.org/show_bug.cgi?id=726749

12 years agoUpdated Indonesian translation
Andika Triwidada [Fri, 21 Mar 2014 10:13:02 +0000 (10:13 +0000)]
Updated Indonesian translation

12 years agoUpdated Indonesian translation
Andika Triwidada [Fri, 21 Mar 2014 07:20:38 +0000 (07:20 +0000)]
Updated Indonesian translation

12 years agowayland: Mark ourselves as not supporting bounding shapes
Jasper St. Pierre [Tue, 18 Mar 2014 13:38:06 +0000 (09:38 -0400)]
wayland: Mark ourselves as not supporting bounding shapes

Theoretically, we apply the shape mask client-side ourselves
with an ARGB32 pixmap and intersect it to get a union shape,
but I don't particularly care enough to write that code.

Realistic application code using bounding shapes in 2014 is
quite rare.

12 years agowayland: Add support for input regions
Jasper St. Pierre [Mon, 17 Mar 2014 20:02:47 +0000 (16:02 -0400)]
wayland: Add support for input regions

12 years agowayland: Refactor how opaque region is handled
Jasper St. Pierre [Mon, 17 Mar 2014 20:08:35 +0000 (16:08 -0400)]
wayland: Refactor how opaque region is handled

Move to a sync system just like the rest of the properties.

12 years agodocs: Add more information to gtk_widget_set_realized()
Benjamin Otte [Thu, 20 Mar 2014 13:34:31 +0000 (14:34 +0100)]
docs: Add more information to gtk_widget_set_realized()

It's important to point out that widgets should only be marked as
realized very late in the process. Even GTK widgets don't get this
right.

https://bugzilla.gnome.org/show_bug.cgi?id=726717

12 years agoexpander: Call set_realized() later
Benjamin Otte [Thu, 20 Mar 2014 13:11:02 +0000 (14:11 +0100)]
expander: Call set_realized() later

Widgets should only call set_realized() after having created and
registered their GDK windows. In this case, the creation of the style
context (or more exactly: figuring out the scale factor for it) requires
knowing if the widget is already realized. Which it isn't.

https://bugzilla.gnome.org/show_bug.cgi?id=726717

12 years agoUpdated Scottish Gaelic translation
GunChleoc [Thu, 20 Mar 2014 08:46:04 +0000 (08:46 +0000)]
Updated Scottish Gaelic translation

12 years agoUpdated Scottish Gaelic translation
GunChleoc [Thu, 20 Mar 2014 08:27:29 +0000 (08:27 +0000)]
Updated Scottish Gaelic translation

12 years agoUpdated Scottish Gaelic translation
GunChleoc [Thu, 20 Mar 2014 08:24:23 +0000 (08:24 +0000)]
Updated Scottish Gaelic translation

12 years agoUpdated Scottish Gaelic translation
GunChleoc [Thu, 20 Mar 2014 08:20:58 +0000 (08:20 +0000)]
Updated Scottish Gaelic translation

12 years agoUpdated Danish translation
Ask H. Larsen [Wed, 19 Mar 2014 20:52:16 +0000 (21:52 +0100)]
Updated Danish translation

12 years agoUpdated Danish translation
Ask H. Larsen [Wed, 19 Mar 2014 20:50:35 +0000 (21:50 +0100)]
Updated Danish translation

12 years agoUpdated Hungarian translation
Gábor Kelemen [Wed, 19 Mar 2014 15:57:33 +0000 (15:57 +0000)]
Updated Hungarian translation

12 years agocontainer: guard container variable by reffing it
Benjamin Otte [Wed, 19 Mar 2014 12:23:38 +0000 (13:23 +0100)]
container: guard container variable by reffing it

vte destroys the container during removal of a child. Don't crash in
that case due to recent a11y refactoring.

https://bugzilla.gnome.org/show_bug.cgi?id=726369

12 years agocssprovider: Fix error message
Benjamin Otte [Mon, 17 Mar 2014 01:09:31 +0000 (02:09 +0100)]
cssprovider: Fix error message

  expected a valid semicolon
sounds kinda not so great. Make it say
  expected semicolon

Unless somebody can tell me the difference between valid and invalid
semicolons?

12 years agoEnsure proper spacing around icons in message dialogs
Matthias Clasen [Tue, 18 Mar 2014 23:50:59 +0000 (19:50 -0400)]
Ensure proper spacing around icons in message dialogs

We had a margin of 30 before/after the text. Put that add around
the icon as well, and separate the icon and text by 30 pixels.
This does not affect the appearance of message dialogs without
icons.

12 years agoAdd at testcase for a message dialog with icon
Matthias Clasen [Tue, 18 Mar 2014 23:49:10 +0000 (19:49 -0400)]
Add at testcase for a message dialog with icon

Icons in message dialogs may be deprecated, but we still need
to place them properly, so add a testcase.

12 years agodocs: Tiny GtkApplication typo fixes.
Murray Cumming [Tue, 18 Mar 2014 11:29:49 +0000 (12:29 +0100)]
docs: Tiny GtkApplication typo fixes.

12 years agoGtkDialog: Add some padding to title label
Matthias Clasen [Tue, 18 Mar 2014 02:46:22 +0000 (22:46 -0400)]
GtkDialog: Add some padding to title label

12 years agoBump version
Matthias Clasen [Tue, 18 Mar 2014 00:21:28 +0000 (20:21 -0400)]
Bump version

12 years agoGtkPopover: Fix two doc comments
Matthias Clasen [Mon, 17 Mar 2014 23:13:53 +0000 (19:13 -0400)]
GtkPopover: Fix two doc comments

12 years agox11: Allow unmaximizing from tiled state too
Matthias Clasen [Mon, 17 Mar 2014 22:18:53 +0000 (18:18 -0400)]
x11: Allow unmaximizing from tiled state too

This lets us unmaximize a half-tiled csd window on a touch system.

12 years agoUpdate a11y test output
Matthias Clasen [Mon, 17 Mar 2014 22:14:53 +0000 (18:14 -0400)]
Update a11y test output

12 years agowayland: Remove cruft in set_keep_above / set_keep_below
Jasper St. Pierre [Mon, 17 Mar 2014 19:42:43 +0000 (15:42 -0400)]
wayland: Remove cruft in set_keep_above / set_keep_below

It's been decided: these will most likely never be supported on
Wayland, so remove the "stub" implementation of them.

12 years agowayland: Fix get_frame_extents
Jasper St. Pierre [Mon, 17 Mar 2014 19:41:08 +0000 (15:41 -0400)]
wayland: Fix get_frame_extents

We need to traverse up the hierarchy for windows here. Just use
our existing helper method for this.

12 years agoImplement get_root_origin generically for all backends
Jasper St. Pierre [Mon, 17 Mar 2014 19:39:39 +0000 (15:39 -0400)]
Implement get_root_origin generically for all backends

It seems that some backends implemented get_root_origin wrong
and returned the client window coordinates, not the frame window
coordinates. Since it's possible to implement generically for all
windows, let's do that instead of having a separate impl vfunc.

12 years agoUpdates
Matthias Clasen [Mon, 17 Mar 2014 19:45:21 +0000 (15:45 -0400)]
Updates

12 years agowayland: Fix "fake root" coords
Jasper St. Pierre [Mon, 17 Mar 2014 19:27:13 +0000 (15:27 -0400)]
wayland: Fix "fake root" coords

We were incorrectly summing up our own window over and over
rather than the coordinates of the parent windows.

12 years agowayland: Add a giant doc comment explaining "fake root" coordinate space
Jasper St. Pierre [Mon, 17 Mar 2014 19:25:23 +0000 (15:25 -0400)]
wayland: Add a giant doc comment explaining "fake root" coordinate space

12 years agowayland: Properly apply the fake root offset to event coordinates
Jasper St. Pierre [Mon, 17 Mar 2014 19:11:13 +0000 (15:11 -0400)]
wayland: Properly apply the fake root offset to event coordinates

GdkEvent's x_root and y_root values should be in the same "fake root
window" coordinate space as gdk_window_get_root_coords.

12 years agowayland: Fill in x_root / y_root of events properly
Jasper St. Pierre [Mon, 17 Mar 2014 18:58:37 +0000 (14:58 -0400)]
wayland: Fill in x_root / y_root of events properly

Lots of code, including dragging code in GtkWindow, use these
fields. Setting them to 0 causes lots of strange and weird bugs.

Use the same "hack" from query_device_state of just using
win_x / win_y for now. We'll convert this to the proper fake root
coordinate system used by get_root_coords in the next commit.

12 years agoUpdate documentation about link styling
Matthias Clasen [Mon, 17 Mar 2014 19:00:45 +0000 (15:00 -0400)]
Update documentation about link styling

The ::link-color and ::visited-link-color style properties
are ignored now. Document that.

12 years agoprinting: Fail nicely when /tmp is not writable
Marek Kasik [Fri, 14 Mar 2014 14:36:10 +0000 (15:36 +0100)]
printing: Fail nicely when /tmp is not writable

Don't crash when /tmp is not writable when printing to file.
Show that getting of printer details failed for CUPS printers.

https://bugzilla.gnome.org/show_bug.cgi?id=693200

12 years agotextview: Mind the lateral windows when setting handles/popovers positions
Carlos Garnacho [Mon, 17 Mar 2014 16:42:07 +0000 (17:42 +0100)]
textview: Mind the lateral windows when setting handles/popovers positions

If a textview had lateral windows that might displace the text window, the
handles and popovers would appear displaced. Those lateral windows aren't
affected by RTL/LTR settings, so just checking for left/top is ok here.

12 years agox11: Implement "drag to top to maximize" gesture on emulated window dragging
Carlos Garnacho [Thu, 13 Mar 2014 20:12:55 +0000 (21:12 +0100)]
x11: Implement "drag to top to maximize" gesture on emulated window dragging

And the counterpart to unmaximize when dragging a maximized window, if
touch devices aren't going to use EWMH moveresize, having this one at least
makes things feel a bit less awkward.

https://bugzilla.gnome.org/show_bug.cgi?id=709914

12 years agox11: Fallback to emulated window dragging for touch devices
Carlos Garnacho [Thu, 13 Mar 2014 19:19:26 +0000 (20:19 +0100)]
x11: Fallback to emulated window dragging for touch devices

Sadly, EWMH moveresize mechanism can't work with touch devices for two
reasons:

1) As a mutter implementation detail, the device is queried in order
to check whether the dragging button is still pressed. Touch devices
won't report the button 1 being pressed through pointer emulation.
2) Even bypassing that check, on X11 touch events are selected prior
to sequences being started, either through XISelectEvents or
XIGrabTouchBegin, no late registering through active grabs is allowed,
as WMs do on reaction to EWMH moveresize messages.

So for the time being, make touch devices fallback on emulated window
dragging, which at least allows for moving windows.

https://bugzilla.gnome.org/show_bug.cgi?id=709914

12 years agodialog: Avoid possible use-after-free
Bastien Nocera [Mon, 17 Mar 2014 08:27:36 +0000 (09:27 +0100)]
dialog: Avoid possible use-after-free

When the dialogue's titlebar was replaced, we were still trying to
update the label we constructed but that was now destroyed.

https://bugzilla.gnome.org/show_bug.cgi?id=726492

12 years agoFinnish translation update by Jiri Grönroos
Ville-Pekka Vainio [Sun, 16 Mar 2014 19:46:47 +0000 (21:46 +0200)]
Finnish translation update by Jiri Grönroos

12 years agoUpdated French translation
Luis Menina [Sun, 16 Mar 2014 16:06:52 +0000 (16:06 +0000)]
Updated French translation

12 years agoUpdated French translation
Claude Paroz [Sun, 16 Mar 2014 12:51:19 +0000 (12:51 +0000)]
Updated French translation

12 years agoUpdated French translation
Claude Paroz [Sun, 16 Mar 2014 11:05:02 +0000 (11:05 +0000)]
Updated French translation

12 years agoTest size constraints
Matthias Clasen [Fri, 14 Mar 2014 17:45:47 +0000 (13:45 -0400)]
Test size constraints

This adds some min/max size hints to testimage.

12 years agoShow dialog titles
Matthias Clasen [Fri, 14 Mar 2014 10:28:49 +0000 (06:28 -0400)]
Show dialog titles

We want to present a clean, rounded top when there is nothing
else to show, but many dialogs in applications rely on showing
information in their title, so add a label and show the title
when it is not empty.

12 years ago_gtk_widget_get_device_window: Fix for keyboard devices
Owen W. Taylor [Thu, 13 Mar 2014 14:30:05 +0000 (10:30 -0400)]
_gtk_widget_get_device_window: Fix for keyboard devices

Avoid a warning by returning NULL for keyboard devices, which can
never have an active pointer for a widget.

12 years agoxdg-shell: Update to latest state change mechanism
Jasper St. Pierre [Sun, 9 Feb 2014 16:39:01 +0000 (11:39 -0500)]
xdg-shell: Update to latest state change mechanism

12 years agoUpdate a11y test output
Matthias Clasen [Thu, 13 Mar 2014 03:43:28 +0000 (23:43 -0400)]
Update a11y test output

These harmless changes are a consequence of
66fae0330c5cdb68f50699ff2645ff0cf112911e.

12 years agoAdd a Since annotation to gdk_device_get_last_event_window
Matthias Clasen [Thu, 13 Mar 2014 03:04:37 +0000 (23:04 -0400)]
Add a Since annotation to gdk_device_get_last_event_window

12 years agoUse GDK's current window tracking when synthesizing events in GTK+
Owen W. Taylor [Wed, 12 Mar 2014 16:39:03 +0000 (12:39 -0400)]
Use GDK's current window tracking when synthesizing events in GTK+

Add gdk_device_get_last_event_window(), and use to implement the window
tracking we need for synthesizing crossing events for sensitivity changes
and gtk grabs, rather than keeping the information in qdata and updating
it based when GTK+ gets events.

https://bugzilla.gnome.org/show_bug.cgi?id=726187

12 years agodocumentation: clarify gtk_icon_theme_add_builtin_icon() usage
Balint Reczey [Mon, 3 Mar 2014 15:07:47 +0000 (16:07 +0100)]
documentation: clarify gtk_icon_theme_add_builtin_icon() usage

https://bugzilla.gnome.org/show_bug.cgi?id=726135

12 years agoGtkTreeView: stop ignoring crossing events from grabs
Owen W. Taylor [Wed, 12 Mar 2014 23:27:42 +0000 (19:27 -0400)]
GtkTreeView: stop ignoring crossing events from grabs

Stop ignoring various crossing events from grabs:

Enter events with type GRAB/GTK_GRAB/GTK_UNGRAB/STATE_CHANGED:
  Ignoring these events was added as a workaround for synthesized
  events not having the right coordinates (see bug 555109) but
  now they do have the right coordinates. (see bug 704456)

Leave events with types types GTK_GRAB/GTK_UNGRAB:
  Ignoring these events was added because since we were ignoring
  the enter events as above, ignoring the leave events meant we
  could lose the prelighted row in a grab-triggered leave/enter
  pair. (See bug 653676. It's also now impossible to
  reproduce the leave events that were reported in that bug as causing
  problems.)

Leave events of type GRAB.
  Ignoring these events was added without a ChangeLog entry in 2001,
  possibly to keep the prelight from flashing when activating menus.
  But ignoring these events could lead to stuck prelighting, and we don't
  do it for any other widgets.

https://bugzilla.gnome.org/show_bug.cgi?id=726209

The bug this patch is fixing is that currently if you have a GtkPopover in
clicking off the popover to dismiss it on a GtkTreeView (which triggers
a synthetic enter event on the GtkTreeView) will leave the GtkTreeView
in a confused state until the user moves the mouse again.

12 years agoWork around gcc stupidity
Matthias Clasen [Thu, 13 Mar 2014 02:47:10 +0000 (22:47 -0400)]
Work around gcc stupidity

With -Wc++-compat, gcc warns about 'and' even in contexts where it
poses absolutely no danger.

https://bugzilla.gnome.org/show_bug.cgi?id=726136

12 years agotreeview: Don't popup a search dialog for keypresses that close it
Benjamin Otte [Thu, 13 Mar 2014 00:57:29 +0000 (01:57 +0100)]
treeview: Don't popup a search dialog for keypresses that close it

That doesn't make sense.
And it causes issues, because when holding down the tab key, we
show/hide a lot of windows and cause a lot of map/unmap events that
stall the event pipeline.

12 years agotreeview: Split out a function
Benjamin Otte [Thu, 13 Mar 2014 00:43:27 +0000 (01:43 +0100)]
treeview: Split out a function

This is in preparation for the next patch.

12 years agoa11y: Don't use signals
Benjamin Otte [Fri, 7 Mar 2014 20:45:18 +0000 (21:45 +0100)]
a11y: Don't use signals

Instead, call functions directly. Fixes the fact that the signals
weren't disconnected even when the accessible was destroyed.

https://bugzilla.gnome.org/show_bug.cgi?id=725733

12 years agogdk_cairo_surface_create_from_pixbuf: Add missing (allow-none) annotation
Owen W. Taylor [Wed, 12 Mar 2014 15:49:14 +0000 (11:49 -0400)]
gdk_cairo_surface_create_from_pixbuf: Add missing (allow-none) annotation

The window is allowed to be %NULL

12 years agoUpdated Czech translation
Marek Černocký [Wed, 12 Mar 2014 15:06:14 +0000 (16:06 +0100)]
Updated Czech translation

12 years agocsd: Fix the northeast resize handle position
Matthias Clasen [Wed, 12 Mar 2014 04:28:26 +0000 (00:28 -0400)]
csd: Fix the northeast resize handle position

12 years agocsd: Fix invisible border/shadow confusion
Matthias Clasen [Wed, 12 Mar 2014 04:15:02 +0000 (00:15 -0400)]
csd: Fix invisible border/shadow confusion

We did not set an input shape on the window, so the region outside
the invisible border where we draw the outer edges of the shadow
were still part of the window, as far as clicks and cursors were
concerned. Fix this by setting an input shape that makes all clicks
outside of the resize borders go through to the underlying window.

https://bugzilla.gnome.org/show_bug.cgi?id=726125

12 years agobroadway: remove unused libcrypt
Ryan Lortie [Wed, 12 Mar 2014 04:10:03 +0000 (00:10 -0400)]
broadway: remove unused libcrypt

eb1ab0dac2f3d7a05cfe8b87e83b363d39279a38 removed support for authentication
based on crypt()-hashed passwords but it didn't remove the header.

Finish up with the removal.

This allows the broadway backend to build on FreeBSD (which has no
crypt.h).

https://bugzilla.gnome.org/show_bug.cgi?id=726149

12 years agoUpdated Portuguese translation
Duarte Loreto [Wed, 12 Mar 2014 01:37:52 +0000 (01:37 +0000)]
Updated Portuguese translation